package cn.lizemin.mybatisplus.service.impl;

import cn.lizemin.mybatisplus.entity.User;
import cn.lizemin.mybatisplus.mapper.UserMapper;
import cn.lizemin.mybatisplus.service.UserService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

/**
 * @author: lizemin
 * @version: 1.0
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {

    @Override
    public List<User> list_all_by_name(String name) {
        return baseMapper.select_all_by_name(name);
    }
}
